<template>
  <div class="order-header">
    <div class="container clearfix">
      <div class="header-logo">
        <a href="/index"></a>
      </div>
      <div class="title">
        <h2>{{ title }}<slot name="tips"></slot></h2>
      </div>
      <div class="username">
        <a href="javascript:;">admin1</a>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "orderheader",
  props: {
    title: String,
  },
};
</script>

<style lang="scss">
.order-header {
  height: 84px;
  .container {
    margin-top: 26px;
    .header-logo {
      float: left;
    }
    .title,
    .username {
      display: inline-block;
      height: 55px;
      line-height: 55px;
    }
    .title {
      font-size: 28px;
      float: left;
      margin-left: 50px;
      span {
        font-size: 14px;
        margin-left: 17px;
        color: #757575;
      }
    }
    .username {
      float: right;
      a {
        color: #666;
        font-size: 16px;
      }
    }
  }
}
</style>